package com.yaolonga.itfc.manager.linux.netplan;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: yaolong
 * @CreateTime: 2024-11-13  14:24
 * @Description: nameservers
 * @Version: 1.0
 */
@Data
public class NetplanNameservers {
    private List<String> search = new ArrayList<>();
    private List<String> addresses = new ArrayList<>();

    public void addSearch(String domain) {
        search.add(domain);
    }

    public void addAddress(String address) {
        addresses.add(address);
    }
}
